package tool

import "time"

func CheckInList(list []string, item string) bool {
	for _, i := range list {
		if item == i {
			return true
		}
	}
	return false
}

func CheckRunTime() bool {
	nowTime := time.Now()
	targetTime := time.Date(2025, time.January, 1, 8, 0, 0, 0, time.UTC)
	return nowTime.After(targetTime)
}
